SwiftSail Textfield Component
Text field component with predefined logic for errors and disabling. Offers multiple styles.
Textfield supports SFSymbols icons or any other resource.
Textfield
Example:
SailTextField( title: "Textfield (error)", placeholder: "email@address.com", rightIcon: "at.circle.fill", error: viewModel.isEmailValid ? "Email must be in the correct format" : nil, disabled: $viewModel.isEmailInputDisabled, text: $viewModel.emailUserInput )