# Kirby builder plugin: Default values are not saved

**URL:** <https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489>\
**Category:** Questions\
**Created:** [September 24, 2020, 6:50am UTC](https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489 "2020-09-24T06:50:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrfickinger](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/chrfickinger/32/13608_2.png) [@chrfickinger](https://forum.getkirby.com/u/chrfickinger)\
**Post date:** [September 24, 2020, 6:50am UTC](https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489/1 "2020-09-24T06:50:29Z")

</div>

I’m using kirby builder (v1.0) with 2 fields in my example:

`  
textfield:  
type: text

selectfield:  
type: select  
required: true  
default: a  
options:  
a: foo  
b: bar  
`  
By adding a pagebuilder block and saving without changes, the default value is not saved and is lost forever. If I fill the textfield first and save afterwards, the default value of the selectfield is written correctly.

Any suggestions or workaround? It would be very helpful because I have many default requird selectfields in my project and I don’t want the editor to destroy the layout.

Thanks in advance for answers

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [September 24, 2020, 6:57am UTC](https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489/2 "2020-09-24T06:57:56Z")

</div>

v 1.0 sounds pretty old. Which Kirby version are you using?

---

<div class="post-metadata">

**Author:** ![chrfickinger](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/chrfickinger/32/13608_2.png) [@chrfickinger](https://forum.getkirby.com/u/chrfickinger)\
**Post date:** [September 24, 2020, 7:02am UTC](https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489/3 "2020-09-24T07:02:10Z")

</div>

ups, sorry.  
kirby builder is actually 2.0.14  
kirby is the latest 3.4.3

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [September 24, 2020, 7:06am UTC](https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489/4 "2020-09-24T07:06:39Z")

</div>

Someone has already reported an issue that is probably related: [https://github.com/TimOetting/kirby-builder/issues/179](https://github.com/TimOetting/kirby-builder/issues/179)

---

<div class="post-metadata">

**Author:** ![chrfickinger](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/chrfickinger/32/13608_2.png) [@chrfickinger](https://forum.getkirby.com/u/chrfickinger)\
**Post date:** [September 24, 2020, 8:27am UTC](https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489/5 "2020-09-24T08:27:55Z")

</div>

Thank you for your answer. Will check that.

---

<div class="post-metadata">

**Author:** ![chrfickinger](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/chrfickinger/32/13608_2.png) [@chrfickinger](https://forum.getkirby.com/u/chrfickinger)\
**Post date:** [September 24, 2020, 10:05am UTC](https://forum.getkirby.com/t/kirby-builder-plugin-default-values-are-not-saved/19489/6 "2020-09-24T10:05:40Z")

</div>

This actually doesn’t solve my problem, but found another issue with kirby builder and the latest kirby 3.4.3.  
I created a new topic to not mix the 2 problems:

> [@Kirby builder plugin: Not possible to save required fields](https://forum.getkirby.com/t/kirby-builder-plugin-not-possible-to-save-required-fields/19496):
>
> It is currently not possible to save a kirby builder block with required fields (without when condion) with kirby 3.4.3. It seems the behavior only appears for public and unlisted pages. Switching to draft solves the problem. Switching to kirby 3.4.2. solves the problem as well. Note: Required fields (with when condition) work as expected. Probably it has to do with the new 3.4.3. kirby feature: Required fields with when conditions now can be left empty, if the when condition does not apply…
