FUIListPickerFormView

@MainActor
public class FUIListPickerFormView : FUIDrawingView, FUITitleMultiLineComponent, FUIMandatoryFieldComponent, FUIValueComponent

Base inner view to display a key-value pair property for FUIListPickerCollectionViewCell.

Please refer to the FUIListPickerCollectionViewCell documentation for details.

  • The FUILabel that holds the key name string.

    Declaration

    Swift

    @objc
    @MainActor
    public var keyLabel: FUILabelProxy
  • TheFUILabel that holds the value string.

    Declaration

    Swift

    @objc
    @MainActor
    public var valueLabel: FUILabelProxy
  • The title of the property.

    Declaration

    Swift

    @MainActor
    public var title: FUIMultiLineText
  • The value text of the property

    Declaration

    Swift

    @MainActor
    public var valueText: FUIMultiLineText
  • The value is the selected indexes to the items in the list. This property is not used when ListPicker‘s isDataSourceRequiringUniqueIdentifiers is true.

    Declaration

    Swift

    @MainActor
    public var value: [Int]
  • Indicates whether this cell is enabled or not, that is, whether the selections can be changed or not. The default is true.

    Declaration

    Swift

    @MainActor
    public var isEnabled: Bool { get set }
  • Indicates whether the cell is a mandatory field.

    The default value is false.

    Declaration

    Swift

    @MainActor
    open var isRequired: Bool { get set }
  • Indicates that the cell is a mandatory field.

    The default value is *.

    Declaration

    Swift

    @MainActor
    public var mandatoryIndicator: FUIText { get set }
  • Implementation of the change handler. This is invoked on changes to the value property.

    Declaration

    Swift

    @MainActor
    public var onChangeHandler: (([Int]) -> Void)?
  • The array of the valid options.

    Declaration

    Swift

    @MainActor
    public var valueOptions: [String]
  • Declaration

    Swift

    @MainActor
    public var listPicker: FUIListPicker!
  • This property specifies whether the valueLabel should always be below the keyLabel or not.

    The default is false.

    Declaration

    Swift

    @MainActor
    public var alwaysShowValueTextOnBottom: Bool { get set }
  • Indicates whether the user can select multiple values.

    The default is true, meaning that, by default, the user may select multiple values.

    Declaration

    Swift

    @MainActor
    public var allowsMultipleSelection: Bool { get set }
  • :nodoc

    Declaration

    Swift

    @MainActor
    open override func setup()
  • :nodoc

    Declaration

    Swift

    @MainActor
    open override func calculateLayout(_ targetSize: CGSize)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open override func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSize
  • Declaration

    Swift

    @MainActor
    open override func prepareForReuse()