Fields.DescriptionPlaintextUnlimited (fields v2.11.0)
An Ecto Type for plaintext description fields with no length restrictions. Strips out all HTML tags to avoid XSS.
Example
schema "article" do
field(:description, Fields.DescriptionPlaintextUnlimited)
end
Summary
Functions
Callback implementation for Ecto.Type.cast/1
.
Callback implementation for Ecto.Type.dump/1
.
Callback implementation for Ecto.Type.embed_as/1
.
Callback implementation for Ecto.Type.equal?/2
.
Callback implementation for Ecto.Type.load/1
.
Callback implementation for Ecto.Type.type/0
.
Functions
Link to this function
cast(value)
Callback implementation for Ecto.Type.cast/1
.
Link to this function
dump(value)
Callback implementation for Ecto.Type.dump/1
.
Link to this function
embed_as(_)
Callback implementation for Ecto.Type.embed_as/1
.
Link to this function
equal?(term1, term2)
Callback implementation for Ecto.Type.equal?/2
.
Link to this function
input_type()
Link to this function
load(value)
Callback implementation for Ecto.Type.load/1
.
Link to this function
type()
Callback implementation for Ecto.Type.type/0
.