added placeholder in delegates so you can understand what is passed back

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-08-01 10:55:48 -05:00
parent 3732f98d7c
commit ab5a5a1e55

View File

@ -49,10 +49,10 @@ open class ItemDropdownEntryField: VDS.DropdownSelect, VDSMoleculeViewProtocol,
public var isValid: Bool = true public var isValid: Bool = true
/// Closure passed here will run as picker changes items. /// Closure passed here will run as picker changes items.
public var observeDropdownChange: ((String?, String) -> ())? public var observeDropdownChange: ((_ oldValue: String?, _ newValue: String) -> ())?
/// Closure passed here will run upon dismissing the selection picker. /// Closure passed here will run upon dismissing the selection picker.
public var observeDropdownSelection: ((String) -> ())? public var observeDropdownSelection: ((_ newValue: String) -> ())?
/// When selecting for first responder, allow initial selected value to appear in empty text field. /// When selecting for first responder, allow initial selected value to appear in empty text field.
public var setInitialValueInTextField = true public var setInitialValueInTextField = true