From 858e801a1e20ca7ff89286bd7df118571c13b6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helmut=20H=C3=A4nsel?= Date: Fri, 10 Nov 2023 11:58:28 +0100 Subject: [PATCH] replace `@iif` by `@if` in docstring --- src/FormInputs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FormInputs.jl b/src/FormInputs.jl index b94fd637..aa09fd37 100644 --- a/src/FormInputs.jl +++ b/src/FormInputs.jl @@ -25,7 +25,7 @@ julia> @vars TextField begin ### View ```julia-repl -julia> textfield("What's your name *", :name, name = "name", @iif(:warin), :filled, hint = "Name and surname", "lazy-rules", +julia> textfield("What's your name *", :name, name = "name", @if(:warin), :filled, hint = "Name and surname", "lazy-rules", rules = "[val => val && val.length > 0 || 'Please type something']" ) ```