[html-formfu] Model::DBIC: label-style text field
onken at houseofdesign.de
onken at houseofdesign.de
Fri Jan 9 15:03:57 GMT 2009
On Thu, 18 Dec 2008 14:32:12 +0100, <onken at houseofdesign.de> wrote:
>>
>> There's no way to currently do it, while still using Model-DBIC to
>> populate the field.
>> Maybe adding a 'readonly' model_config() option would be the best
> solution?
>>
>
> It would be so much easier if we had an element like Element::Label.
> But I have no idea how this would be implemented because it needs to be
> read only and has no input field.
>
> - type: Label
> name: price
>
> would be great. I could put this in a multi element and my cart is ready
to
> go.
> But model::dbic has to ignore it if there is a param "price" with a
value.
>
> moritz
>
Hi,
I'm still stuck here. I tried to set non_param on a text element but it
seems
like Model::DBIC ignores it and updates the value anyway.
I can write a test if needed.
More information about the HTML-FormFu
mailing list