Class: Tuile::Component::HasValidation::ErrorMessageChangeEvent
- Inherits:
-
Data
- Object
- Data
- Tuile::Component::HasValidation::ErrorMessageChangeEvent
- Includes:
- Event
- Defined in:
- lib/tuile/component/has_validation.rb,
sig/tuile.rbs
Overview
What #on_error_message_change fires.
Instance Attribute Summary collapse
-
#error_message ⇒ StyledString?
readonly
@return — the new message,
nilwhen the field just became valid. -
#source ⇒ Component
readonly
@return — the field whose verdict changed.
Instance Attribute Details
#error_message ⇒ StyledString? (readonly)
@return — the new message, nil when the field just
became valid.
69 |
# File 'lib/tuile/component/has_validation.rb', line 69 ErrorMessageChangeEvent = Data.define(:source, :error_message) { include Tuile::Event } |
#source ⇒ Component (readonly)
@return — the field whose verdict changed.
69 |
# File 'lib/tuile/component/has_validation.rb', line 69 ErrorMessageChangeEvent = Data.define(:source, :error_message) { include Tuile::Event } |