DynFork::Fields::URLField
Inherits DynFork::Fields::Field < JSON::Serializable < Struct < Value < Object
Field for entering URL addresses.
WARNING: Used validator Valid.url?.
Constructors
new(pull : JSON::PullParser)
Sourcenew(label : String = "", default : String | Nil = nil, placeholder : String = "", maxlength : UInt32 | Nil = 2083, hide : Bool = false, unique : Bool = false, required : Bool = false, disabled : Bool = false, readonly : Bool = false, ignored : Bool = false, hint : String = "", warning : Array(String) = Array(String).new)
SourceInstance methods
group
To optimize field traversal in the paladins/check() method.
WARNING: It is recommended not to change.
maxlength
The maximum number of characters allowed in the text.
Max URL length in address bar:
Google Chrome: 2083
Edge: 2083
Internet Explorer: 2083
Safari: 80 000
Firefox: 65 536
maxlength?
The maximum number of characters allowed in the text.
Max URL length in address bar:
Google Chrome: 2083
Edge: 2083
Internet Explorer: 2083
Safari: 80 000
Firefox: 65 536