mendraw/mendix/reference

Provides typed access to Mendix reference values.

Types

A typed ReferenceValue value used by the reference capability.

pub type ReferenceValue

Values

pub fn read_only(ref ref: ReferenceValue) -> Bool

Reads the only.

pub fn set_value(
  ref ref: ReferenceValue,
  value value: option.Option(a),
) -> Nil

Sets the value.

pub fn validation(
  ref ref: ReferenceValue,
) -> option.Option(String)

Returns the current validation message.

pub fn value(ref ref: ReferenceValue) -> option.Option(a)

Returns the referenced value.

Search Document