2023-09-29 23:09:41 +02:00
|
|
|
class Champs::ExpressionReguliereChamp < Champ
|
2024-04-01 07:36:14 +02:00
|
|
|
# TODO: if: -> { validate_champ_value? || validation_context == :prefill }
|
2023-10-26 16:02:23 +02:00
|
|
|
validates_with ExpressionReguliereValidator, if: :validate_champ_value?
|
2023-09-29 23:09:41 +02:00
|
|
|
end
|