Web Component: j-RawEditable
j-RawEditable
j-RawEditable is a simple component with a big hidden functionality. It's targeted for additional customization.
- jComponent
v19|v20
Configuration:
type
{String}
optional, can beemail
,phone
,zip
,date
,time
,url
,number
,search
,lower
,upper
or empty (default)formatting
{Boolean}
enables formatting bold, italic, etc., default:false
required
{Boolean}
optional, enables "required" (default:false
)placeholder
{String}
optional, adds aplaceholder
text into the inputmaxlength
{Number}
optional, sets a maximum length of chars (default:200
)minlength
{Number}
optional, sets a minimum length of charsminvalue
{Number}
optional, a minimal value fornumber
typemaxvalue
{Number}
optional, a maximal value fornumber
typevalidate
{String}
optional, a condition for validating of value, can contain a link tofunction(value)
or!!value.match(/[a-z]+/)
format
{String}
optional, output formatting e.g. fordate
type:yyyy-MM-dd
, fortime
type:HH:mm
, fornumber
you can define max. decimalsdisabled
{Boolean}
optional, disables this componentautocomplete
{String}
optional, needs to contain a link to a function, is triggered onfocus
eventspaces
{Boolean}
optional, enables spaces otherwise it removes them (default:true
)autosource
{String}
a path tosearch
function inautocomplete
,function(search, render(arr))
autovalue
{String}
a property path for the value inautosource
, default:name
autoexec
{String}
a path methodfunction(item, next(value_to_input))
forcevalidation
{Boolean}
enables for force validation forphone
andemail
(default:true
)monospace
{Boolean}
enablesmonospaced
font (default:false
)enter
{String}
a link tofunction(val, com)
- evaluated when the user presses enter
Author
- Peter Širka petersirka@gmail.com
- License
Created
29. december 2020
Updated
01. february 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com